package com.ebring.shareEducation.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;

import javax.persistence.Table;
import java.io.Serializable;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
@Table(name = "USER_REVIEWS")
public class UserReviews  implements Serializable {
    private String tId;  //评论id
    private String userId;//用户id
    private String taskReleaseId;//任务id
    private String rating;//评论等级
    private String reviewContent;//评论内容
    private String reviewId;//被评论人
    private String reviewTime;//评论时间
    private String effect;//效果时间
    private String manner;//态度评论
    @Transient
    private String ratting[];
    private String remark1;//remark1-5 用户雇主身份标签
    private String remark2;
    private String remark3;
    private String remark4;
    private String remark5;
    private String remark6;//remark6-10 用户老师身份标签
    private String remark7;
    private String remark8;
    private String remark9;
    private String remark10;
    private String avg;//平均分
    private String role;//该评论以雇主身份：02   老师身份：01

}
